<!DOCTYPE HTML>
<html lang="zh">
<head>
<title>ZooKeeper - ZooKeeper | Docs4dev</title>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="ZooKeeper是用于分布式应用程序的高性能协调服务。 它在一个简单的界面中公开了常见的服务，例如命名，配置管理，同步和组服务，因此您不必从头开始编写它们。 您可以现成使用它来实现共识，组管理，领导者选举和状态协议。 您可以根据自己的特定需求在此基础上构建。">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="true">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta property="og:type" content="website">
<meta property="og:title" content="ZooKeeper - ZooKeeper">
<meta property="og:url" content="https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/">
<meta property="og:site_name" content="Docs4dev">
<meta property="og:locale" content="zh_CN">
<meta name="twitter:card" content="ZooKeeper是用于分布式应用程序的高性能协调服务。 它在一个简单的界面中公开了常见的服务，例如命名，配置管理，同步和组服务，因此您不必从头开始编写它们。 您可以现成使用它来实现共识，组管理，领导者选举和状态协议。 您可以根据自己的特定需求在此基础上构建。">
<meta name="generator" content="Docs4dev template engine">
<link rel="stylesheet" href="static/css/app.min.css">
<link rel="shortcut icon" href="https://www.docs4dev.com/static/images/favicon.ico" type="image/x-icon">
<script async="" src="static/js/js.js"></script>
<script async="" src="static/js/adsbygoogle.js" crossorigin="anonymous"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
      dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'UA-129571937-1');
  </script>
<link rel="amphtml" href="https://www.docs4dev.com/amp/docs/zh/zookeeper/r3.5.6/reference/index.html">

<script type="application/ld+json">{"name":null,"headline":"ZooKeeper-ZooKeeper","inLanguage":"zh-CN","version":"r3.5.6","image":"/static/icon/icon-zookeeper.gif","datePublished":"2021-05-20T12:51:01Z","dateCreated":"2021-05-20T12:51:01Z","dateModified":"2021-07-03T12:24:36Z","@context":"https://schema.org/","@type":"APIReference","abstract":"ZooKeeper是用于分布式应用程序的高性能协调服务。 它在一个简单的界面中公开了常见的服务，例如命名，配置管理，同步和组服务，因此您不必从头开始编写它们。 您可以现成使用它来实现共识，组管理，领导者选举和状态协议。 您可以根据自己的特定需求在此基础上构建。"}</script>
</head>
<body>
<div class="book with-summary">
<div class="book-summary">
<div class="logo">
<a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference');" style="color: inherit;">
<img src="static/picture/icon-zookeeper.gif" style="width: 48px; height: 48px;" alt="Logo">
</a>
<b style="color: inherit; margin-left: 8px;">ZooKeeper</b>
</div>
<div class="item">
<div>
<label for="version">版本</label>
<select id="version" onchange="onVersionChange(this)">
<option value="r3.5.6" selected="selected">r3.5.6</option>
</select>
</div>
<div style="margin-top: 8px;">
<label for="language">语言</label>
<select id="language" onchange="onLangChange(this)" value="zh">
<option value="en">English</option>
<option value="zh" selected="selected">中文</option>
</select>
</div>

</div>
<div class="item menus">
<a title="Table of Contents" style="margin-right: 8px;" href="#">
<i class="fa fa-chevron-left"></i>
<span style="margin-left: 2px;">返回目录</span>
</a>
</div>
<nav role="navigation" id="navigation">
<ul class="summary">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html');" title="ZooKeeper Overview"> ZooKeeper Overview </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html');" title="Overview"> Overview </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#ch_DesignOverview');" title="ZooKeeper：分布式应用程序的分布式协调服务"> ZooKeeper：分布式应用程序的分布式协调服务 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#sc_designGoals');" title="Design Goals"> Design Goals </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#sc_dataModelNameSpace');" title="数据模型和分层名称空间"> 数据模型和分层名称空间 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Nodes%2Band%2Bephemeral%2Bnodes');" title="节点和短暂节点"> 节点和短暂节点 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Conditional%2Bupdates%2Band%2Bwatches');" title="有条件的更新和监视"> 有条件的更新和监视 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Guarantees');" title="Guarantees"> Guarantees </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Simple%2BAPI');" title="Simple API"> Simple API </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Implementation');" title="Implementation"> Implementation </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Uses');" title="Uses"> Uses </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Performance');" title="Performance"> Performance </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Reliability');" title="Reliability"> Reliability </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#The%2BZooKeeper%2BProject');" title="ZooKeeper 项目"> ZooKeeper 项目 </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html');" title="Getting Started"> Getting Started </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#getting-started-coordinating-distributed-applications-with-zooKeeper');" title="入门：使用 ZooKeeper 协调分布式应用程序"> 入门：使用 ZooKeeper 协调分布式应用程序 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_Prerequisites');" title="Pre-requisites"> Pre-requisites </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_Download');" title="Download"> Download </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_InstallingSingleMode');" title="Standalone Operation"> Standalone Operation </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_FileManagement');" title="ManagementZooKeeper 存储"> ManagementZooKeeper 存储 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_ConnectingToZooKeeper');" title="连接到 ZooKeeper"> 连接到 ZooKeeper </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_ProgrammingToZooKeeper');" title="编程到 ZooKeeper"> 编程到 ZooKeeper </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_RunningReplicatedZooKeeper');" title="运行复制的 ZooKeeper"> 运行复制的 ZooKeeper </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#other-optimizations');" title="Other Optimizations"> Other Optimizations </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/releasenotes.html');" title="Release Notes"> Release Notes </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://zookeeper.apache.org/doc/r3.5.8/apidocs/zookeeper-server/index.html');" title="Developers"> Developers </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://zookeeper.apache.org/doc/r3.5.8/apidocs/zookeeper-server/index.html');" title="API Docs"> API Docs </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperProgrammers.html');" title="Programmer's Guide"> Programmer's Guide </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html');" title="ZooKeeper Java 示例"> ZooKeeper Java 示例 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#ch_Introduction');" title="一个简单的手表 Client 端"> 一个简单的手表 Client 端 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#sc_requirements');" title="Requirements"> Requirements </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#sc_design');" title="Program Design"> Program Design </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#sc_executor');" title="执行者班"> 执行者班 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#sc_DataMonitor');" title="DataMonitor 类"> DataMonitor 类 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#sc_completeSourceCode');" title="完整的源清单"> 完整的源清单 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html');" title="屏障和队列教程"> 屏障和队列教程 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#ch_Introduction');" title="Introduction"> Introduction </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#sc_barriers');" title="Barriers"> Barriers </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#sc_producerConsumerQueues');" title="Producer-Consumer Queues"> Producer-Consumer Queues </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#Complete%2Bexample');" title="Complete example"> Complete example </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#Queue%2Btest');" title="Queue test"> Queue test </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#Barrier%2Btest');" title="Barrier test"> Barrier test </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#sc_sourceListing');" title="Source Listing"> Source Listing </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html');" title="ZooKeeper Recipes"> ZooKeeper Recipes </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#ch_recipes');" title="使用 ZooKeeper 创建更高级构造的指南"> 使用 ZooKeeper 创建更高级构造的指南 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_errorHandlingNote');" title="有关错误处理的重要说明"> 有关错误处理的重要说明 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_outOfTheBox');" title="开箱即用的应用程序：名称服务，配置，组成员身份"> 开箱即用的应用程序：名称服务，配置，组成员身份 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_eventHandles');" title="Barriers"> Barriers </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_doubleBarriers');" title="Double Barriers"> Double Barriers </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_Queues');" title="Queues"> Queues </a>
<ul class="articles">
 <li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_priorityQueues');" title="Priority Queues"> Priority Queues </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_Locks');" title="Locks"> Locks </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_GuidNote');" title="可恢复的错误和 GUID"> 可恢复的错误和 GUID </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#Shared%2BLocks');" title="Shared Locks"> Shared Locks </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_revocableSharedLocks');" title="可撤销的共享锁"> 可撤销的共享锁 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_twoPhasedCommit');" title="Two-phased Commit"> Two-phased Commit </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_leaderElection');" title="Leader Election"> Leader Election </a> </li>
</ul> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperAdmin.html');" title="Management 员和操作员"> Management 员和操作员 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperAdmin.html');" title="Administrator's Guide"> Administrator's Guide </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperQuotas.html');" title="Quota Guide"> Quota Guide </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperJMX.html');" title="JMX"> JMX </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperJMX.html#ch_jmx');" title="JMX"> JMX </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperJMX.html#ch_starting');" title="在启用 JMX 的情况下启动 ZooKeeper"> 在启用 JMX 的情况下启动 ZooKeeper </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperJMX.html#ch_console');" title="运行一个 JMX 控制台"> 运行一个 JMX 控制台 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperJMX.html#ch_reference');" title="ZooKeeper MBean 参考"> ZooKeeper MBean 参考 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperHierarchicalQuorums.html');" title="Hierarchical quorums"> Hierarchical quorums </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperObservers.html');" title="Observers"> Observers </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperObservers.html#ch_Introduction');" title="观察者：在不影响写入性能的情况下扩展 ZooKeeper"> 观察者：在不影响写入性能的情况下扩展 ZooKeeper </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperObservers.html#sc_UsingObservers');" title="如何使用观察者"> 如何使用观察者 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperObservers.html#ch_UseCases');" title="用例范例"> 用例范例 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html');" title="Dynamic Reconfiguration"> Dynamic Reconfiguration </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_intro');" title="Overview"> Overview </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_format');" title="更改配置格式"> 更改配置格式 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_clientport');" title="指定 Client 端端口"> 指定 Client 端端口 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_standaloneEnabled');" title="standaloneEnabled 标志"> standaloneEnabled 标志 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_reconfigEnabled');" title="reconfigEnabled 标志"> reconfigEnabled 标志 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_file');" title="动态配置文件"> 动态配置文件 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_backward');" title="Backward compatibility"> Backward compatibility </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_upgrade');" title="升级到 3.5.0"> 升级到 3.5.0 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_dyn');" title="ZooKeeper 合奏的动态重新配置"> ZooKeeper 合奏的动态重新配置 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_api');" title="API"> API </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_access_control');" title="Security"> Security </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_retrieving');" title="检索当前动态配置"> 检索当前动态配置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_modifying');" title="修改当前动态配置"> 修改当前动态配置 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_general');" title="General"> General </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_incremental');" title="Incremental mode"> Incremental mode </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_nonincremental');" title="Non-incremental mode"> Non-incremental mode </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_conditional');" title="Conditional reconfig"> Conditional reconfig </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_errors');" title="Error conditions"> Error conditions </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_additional');" title="Additional comments"> Additional comments </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_rebalancing');" title="重新平衡 Client 端连接"> 重新平衡 Client 端连接 </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html');" title="Contributors"> Contributors </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html');" title="ZooKeeper Internals"> ZooKeeper Internals </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#ch_Introduction');" title="Introduction"> Introduction </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_atomicBroadcast');" title="Atomic Broadcast"> Atomic Broadcast </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_guaranteesPropertiesDefinitions');" title="保证，属性和定义"> 保证，属性和定义 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_leaderElection');" title="Leader Activation"> Leader Activation </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_activeMessaging');" title="Active Messaging"> Active Messaging </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_summary');" title="Summary"> Summary </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_comparisons');" title="Comparisons"> Comparisons </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_quorum');" title="Quorums"> Quorums </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_logging');" title="Logging"> Logging </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_developerGuidelines');" title="Developer Guidelines"> Developer Guidelines </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_rightLevel');" title="以正确的级别登录"> 以正确的级别登录 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_slf4jIdioms');" title="标准 slf4j 成语的使用"> 标准 slf4j 成语的使用 </a> </li>
</ul> </li>
</ul> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://cwiki.apache.org/confluence/display/ZOOKEEPER');" title="ZooKeeper 的其他文档"> ZooKeeper 的其他文档 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://cwiki.apache.org/confluence/display/ZOOKEEPER');" title="Wiki"> Wiki </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://cwiki.apache.org/confluence/display/ZOOKEEPER/FAQ');" title="FAQ"> FAQ </a> </li>
</ul> </li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<header class="book-header">
<div class="dropdown pull-right js-toolbar-action">
<a class="btn toggle-dropdown" aria-label="Language" href="#">
<i class="fa fa-globe"></i>
</a>
<div class="dropdown-menu dropdown-left">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<button class="button size-1" onclick="changeLang('zh_CN')">中文</button>
</div>
<div class="buttons">
<button class="button size-1" onclick="changeLang('en_US')">English</button>
</div>
</div>
</div>
<a class="btn pull-right js-toolbar-action non-mobile" aria-label="Sign up" href="register.html">
<i class="fa fa-sign-in"></i> <span>注册</span>
</a>
<a class="btn pull-right js-toolbar-action non-mobile" aria-label="Sign in" href="register.html">
<i class="fa fa-sign-in"></i>
<span>登录</span>
</a>
<a class="btn pull-left js-toolbar-action btn-summary" href="#"><i class="fa fa-align-justify"></i></a>
<div class="dropdown pull-left font-settings js-toolbar-action">
<a class="btn toggle-dropdown" aria-label="Font Settings" href="#">
<i class="fa fa-font"></i>
</a>
<div class="dropdown-menu dropdown-right">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<button class="button size-2 font-reduce">A</button>
<button class="button size-2 font-enlarge">A</button>
</div>
<div class="buttons">
<button class="button size-2 family-serif">Serif</button>
<button class="button size-2 family-sans">Sans</button>
</div>
<div class="buttons">
<button class="button size-3 theme-white">White</button>
<button class="button size-3 theme-sepia">Sepia</button>
<button class="button size-3 theme-night">Night</button>
</div>
</div>
</div>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Home" href="zh.html">
<i class="fa fa-home"></i> <span>首页</span>
</a>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Guide" href="javascript:window.open('https://www.javadoc.org/');">
<i class="fa fa-book"></i> <span>API Docs</span>
</a>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Tools" href="index1.html">
<i class="fa fa-gears"></i> <span>工具</span>
</a>
<div class="dropdown pull-left js-toolbar-action mobile">
<a class="btn toggle-dropdown" aria-label="Language" href="#">
<i class="fa fa-chevron-down"></i>
</a>
<div class="dropdown-menu dropdown-right">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<a class="button size-1" aria-label="Home" href="zh.html">
<i class="fa fa-home"></i> <span>首页</span>
</a>
</div>
<div class="buttons">
<a class="button size-1" aria-label="Guide" href="javascript:window.open('https://www.javadoc.org/');">
<i class="fa fa-book"></i> <span>API Docs</span>
</a>
</div>
<div class="buttons">
<a class="button size-1" aria-label="Tools" href="index1.html">
<i class="fa fa-gears"></i> <span>工具</span>
</a>
</div>
</div>
</div>
<div id="autocomplete" class="pull-right"></div>
<span id="toolbar-title"></span>
</header>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<section class="normal markdown-section">
<div id="content">
<h1>ZooKeeper</h1>
<div><ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-6108808167664152" data-ad-slot="6964403648"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
<div><div class="divider">
<span class="divider-inner-text">Table of Contents</span>
</div>
<ul class="toc">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html');" title="ZooKeeper Overview"> ZooKeeper Overview </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html');" title="Overview"> Overview </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#ch_DesignOverview');" title="ZooKeeper：分布式应用程序的分布式协调服务"> ZooKeeper：分布式应用程序的分布式协调服务 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#sc_designGoals');" title="Design Goals"> Design Goals </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#sc_dataModelNameSpace');" title="数据模型和分层名称空间"> 数据模型和分层名称空间 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Nodes%2Band%2Bephemeral%2Bnodes');" title="节点和短暂节点"> 节点和短暂节点 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Conditional%2Bupdates%2Band%2Bwatches');" title="有条件的更新和监视"> 有条件的更新和监视 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Guarantees');" title="Guarantees"> Guarantees </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Simple%2BAPI');" title="Simple API"> Simple API </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Implementation');" title="Implementation"> Implementation </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Uses');" title="Uses"> Uses </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Performance');" title="Performance"> Performance </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#Reliability');" title="Reliability"> Reliability </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperOver.html#The%2BZooKeeper%2BProject');" title="ZooKeeper 项目"> ZooKeeper 项目 </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html');" title="Getting Started"> Getting Started </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#getting-started-coordinating-distributed-applications-with-zooKeeper');" title="入门：使用 ZooKeeper 协调分布式应用程序"> 入门：使用 ZooKeeper 协调分布式应用程序 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_Prerequisites');" title="Pre-requisites"> Pre-requisites </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_Download');" title="Download"> Download </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_InstallingSingleMode');" title="Standalone Operation"> Standalone Operation </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_FileManagement');" title="ManagementZooKeeper 存储"> ManagementZooKeeper 存储 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_ConnectingToZooKeeper');" title="连接到 ZooKeeper"> 连接到 ZooKeeper </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_ProgrammingToZooKeeper');" title="编程到 ZooKeeper"> 编程到 ZooKeeper </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#sc_RunningReplicatedZooKeeper');" title="运行复制的 ZooKeeper"> 运行复制的 ZooKeeper </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperStarted.html#other-optimizations');" title="Other Optimizations"> Other Optimizations </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/releasenotes.html');" title="Release Notes"> Release Notes </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://zookeeper.apache.org/doc/r3.5.8/apidocs/zookeeper-server/index.html');" title="Developers"> Developers </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://zookeeper.apache.org/doc/r3.5.8/apidocs/zookeeper-server/index.html');" title="API Docs"> API Docs </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperProgrammers.html');" title="Programmer's Guide"> Programmer's Guide </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html');" title="ZooKeeper Java 示例"> ZooKeeper Java 示例 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#ch_Introduction');" title="一个简单的手表 Client 端"> 一个简单的手表 Client 端 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#sc_requirements');" title="Requirements"> Requirements </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#sc_design');" title="Program Design"> Program Design </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#sc_executor');" title="执行者班"> 执行者班 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#sc_DataMonitor');" title="DataMonitor 类"> DataMonitor 类 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/javaExample.html#sc_completeSourceCode');" title="完整的源清单"> 完整的源清单 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html');" title="屏障和队列教程"> 屏障和队列教程 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#ch_Introduction');" title="Introduction"> Introduction </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#sc_barriers');" title="Barriers"> Barriers </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#sc_producerConsumerQueues');" title="Producer-Consumer Queues"> Producer-Consumer Queues </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#Complete%2Bexample');" title="Complete example"> Complete example </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#Queue%2Btest');" title="Queue test"> Queue test </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#Barrier%2Btest');" title="Barrier test"> Barrier test </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperTutorial.html#sc_sourceListing');" title="Source Listing"> Source Listing </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html');" title="ZooKeeper Recipes"> ZooKeeper Recipes </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#ch_recipes');" title="使用 ZooKeeper 创建更高级构造的指南"> 使用 ZooKeeper 创建更高级构造的指南 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_errorHandlingNote');" title="有关错误处理的重要说明"> 有关错误处理的重要说明 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_outOfTheBox');" title="开箱即用的应用程序：名称服务，配置，组成员身份"> 开箱即用的应用程序：名称服务，配置，组成员身份 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_eventHandles');" title="Barriers"> Barriers </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_doubleBarriers');" title="Double Barriers"> Double Barriers </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_Queues');" title="Queues"> Queues </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_priorityQueues');" title="Priority Queues"> Priority Queues </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_Locks');" title="Locks"> Locks </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_GuidNote');" title="可恢复的错误和 GUID"> 可恢复的错误和 GUID </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#Shared%2BLocks');" title="Shared Locks"> Shared Locks </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_revocableSharedLocks');" title="可撤销的共享锁"> 可撤销的共享锁 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_recipes_twoPhasedCommit');" title="Two-phased Commit"> Two-phased Commit </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/recipes.html#sc_leaderElection');" title="Leader Election"> Leader Election </a> </li>
</ul> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperAdmin.html');" title="Management 员和操作员"> Management 员和操作员 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperAdmin.html');" title="Administrator's Guide"> Administrator's Guide </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperQuotas.html');" title="Quota Guide"> Quota Guide </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperJMX.html');" title="JMX"> JMX </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperJMX.html#ch_jmx');" title="JMX"> JMX </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperJMX.html#ch_starting');" title="在启用 JMX 的情况下启动 ZooKeeper"> 在启用 JMX 的情况下启动 ZooKeeper </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperJMX.html#ch_console');" title="运行一个 JMX 控制台"> 运行一个 JMX 控制台 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperJMX.html#ch_reference');" title="ZooKeeper MBean 参考"> ZooKeeper MBean 参考 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperHierarchicalQuorums.html');" title="Hierarchical quorums"> Hierarchical quorums </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperObservers.html');" title="Observers"> Observers </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperObservers.html#ch_Introduction');" title="观察者：在不影响写入性能的情况下扩展 ZooKeeper"> 观察者：在不影响写入性能的情况下扩展 ZooKeeper </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperObservers.html#sc_UsingObservers');" title="如何使用观察者"> 如何使用观察者 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperObservers.html#ch_UseCases');" title="用例范例"> 用例范例 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html');" title="Dynamic Reconfiguration"> Dynamic Reconfiguration </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_intro');" title="Overview"> Overview </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_format');" title="更改配置格式"> 更改配置格式 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_clientport');" title="指定 Client 端端口"> 指定 Client 端端口 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_standaloneEnabled');" title="standaloneEnabled 标志"> standaloneEnabled 标志 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_reconfigEnabled');" title="reconfigEnabled 标志"> reconfigEnabled 标志 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_file');" title="动态配置文件"> 动态配置文件 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_backward');" title="Backward compatibility"> Backward compatibility </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_upgrade');" title="升级到 3.5.0"> 升级到 3.5.0 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_dyn');" title="ZooKeeper 合奏的动态重新配置"> ZooKeeper 合奏的动态重新配置 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_api');" title="API"> API </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_access_control');" title="Security"> Security </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_retrieving');" title="检索当前动态配置"> 检索当前动态配置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_modifying');" title="修改当前动态配置"> 修改当前动态配置 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_general');" title="General"> General </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_incremental');" title="Incremental mode"> Incremental mode </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_nonincremental');" title="Non-incremental mode"> Non-incremental mode </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_conditional');" title="Conditional reconfig"> Conditional reconfig </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_errors');" title="Error conditions"> Error conditions </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#sc_reconfig_additional');" title="Additional comments"> Additional comments </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperReconfig.html#ch_reconfig_rebalancing');" title="重新平衡 Client 端连接"> 重新平衡 Client 端连接 </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html');" title="Contributors"> Contributors </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html');" title="ZooKeeper Internals"> ZooKeeper Internals </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#ch_Introduction');" title="Introduction"> Introduction </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_atomicBroadcast');" title="Atomic Broadcast"> Atomic Broadcast </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_guaranteesPropertiesDefinitions');" title="保证，属性和定义"> 保证，属性和定义 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_leaderElection');" title="Leader Activation"> Leader Activation </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_activeMessaging');" title="Active Messaging"> Active Messaging </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_summary');" title="Summary"> Summary </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_comparisons');" title="Comparisons"> Comparisons </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_quorum');" title="Quorums"> Quorums </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_logging');" title="Logging"> Logging </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_developerGuidelines');" title="Developer Guidelines"> Developer Guidelines </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_rightLevel');" title="以正确的级别登录"> 以正确的级别登录 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/zookeeper/r3.5.6/reference/zookeeperInternals.html#sc_slf4jIdioms');" title="标准 slf4j 成语的使用"> 标准 slf4j 成语的使用 </a> </li>
</ul> </li>
</ul> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://cwiki.apache.org/confluence/display/ZOOKEEPER');" title="ZooKeeper 的其他文档"> ZooKeeper 的其他文档 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://cwiki.apache.org/confluence/display/ZOOKEEPER');" title="Wiki"> Wiki </a> </li>
<li> <a href="javascript:window.open('https://cwiki.apache.org/confluence/display/ZOOKEEPER/FAQ');" title="FAQ"> FAQ </a> </li>
</ul> </li>
</ul></div>
</div>
</section>
<div class="right-sidebar">
<div class="affix"><ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6108808167664152" data-ad-slot="3102929424" data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
</div>
</div>
<div class="ft">
<a href="#toolbar-title" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a>
<footer class="footer">
<div class="footer__container--normal">
<img alt="扫码关注公众号" title="扫码关注公众号" src="static/picture/qr-code.png" width="170" height="170">
<div class="footer__description--normal">
<p class="paragraph footer__author--normal">Docs4dev<sup class="super">&#xAE;</sup>
</p>
<p class="paragraph footer__quote&#45;&#45;normal">
如果你在使用过程中遇到任何问题，可以在 <a href="javascript:window.open('https://github.com/docs4dev/docs4dev-issues');" target="_blank" rel="noopener noreferrer">这里<i class="fa fa-external-link"></i></a> 提issue。
</p>
<div class="footer__main--normal">
<p class="paragraph footer__main__paragraph--normal copyright" style="color: #666 !important;">
<a href="javascript:window.open('https://beian.miit.gov.cn/');">
蜀ICP备14021783号-6
</a>
</p>
<p class="paragraph footer__main__paragraph--normal copyright" style="color: #666 !important;">
Copyright &#xA9; Docs4dev all
right reserved, powered by <a href="index2.html" target="_blank">Docs4dev</a></p>
</div>
</div>
</div>
 <div class="box__issues">
</div>
</footer>
</div>
</div>
</div>
</div>
</div>
<script>
  var hasToc = true;
  /*  var downloadable = /!*false*!/ false;
    var editable = /!*false*!/ false;
    var code = /!*"zookeeper"*!/ false;
    var version = /!*"r3.5.6"*!/ false;
    var type = /!*"reference"*!/ false;
    var lang = /!*"zh"*!/ 'en';
    //edit link
    require(["gitbook", "jQuery"], function (gitbook, $) {
      gitbook.events.bind('start', function (e, config) {
        // Add edit toolbar to left
        var chapterId = /!*16907*!/ 0;
        if (downloadable) {
          gitbook.toolbar.createButton({
            icon: 'fa fa-download',
            text: '下载',
            onClick: function () {
              window.open('/download?code=' + code + '&version=' + version + '&type=' + type + '&lang=' + lang);
            }
          });
        }
        if (editable) {
          gitbook.toolbar.createButton({
            icon: 'fa fa-edit',
            text: '编辑此页',
            onClick: function () {
              window.open('/docs/edit?chapterId=' + chapterId + '&lang=' + lang);
            }
          });
        }
      });
    });*/
</script>
<script>
    var code = "zookeeper";
    var lang = "zh";
  </script>

<script src="static/js/autocomplete-js.js"></script>
<script src="static/js/app.min.js"></script>
<script src="static/js/search.min.js"></script>
</body>
</html>
